Skip to content

Commit

Permalink
Näytä kansalaiselle myös OAuth2-rajapinnan kautta katselut
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksiAhtiainen committed Dec 19, 2024
1 parent 0f4b1eb commit e3d6b96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AuditLogService(app: KoskiApplication) extends Logging {
val querySpec = QueryRequest.builder
.tableName(AuditLogTableName)
.keyConditionExpression("studentOid = :oid")
.filterExpression("not contains (organizationOid, :self) and (contains (#rawEntry, :katsominen) or contains(#rawEntry, :varda_service))")
.filterExpression("not contains (organizationOid, :self) and (contains (#rawEntry, :katsominen) or contains (#rawEntry, :oauth2_katsominen) or contains(#rawEntry, :varda_service))")
.expressionAttributeNames(Map("#rawEntry" -> "raw").asJava)
.expressionAttributeValues({
val valueMap = new util.HashMap[String, AttributeValue]()
Expand Down

0 comments on commit e3d6b96

Please sign in to comment.