Skip to content

Commit

Permalink
Update DAOs
Browse files Browse the repository at this point in the history
  • Loading branch information
mbryzek committed Jul 31, 2024
1 parent 723fbdc commit 26dcc84
Show file tree
Hide file tree
Showing 20 changed files with 2,051 additions and 1,312 deletions.
3 changes: 2 additions & 1 deletion DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ In development:
Updating apibuilder.me
==================

script/upload
script/update
script/update_daos

SBT
==========
Expand Down
2 changes: 1 addition & 1 deletion api/app/db/InternalTasksDao.scala
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class InternalTasksDao @Inject() (
organizationGuid: Option[UUID] = None,
data: JsValue = Json.obj()
): Unit = {
if (dao.findByTypeIdAndTypeWithConnection(c, id, typ.toString).isEmpty) {
if (dao.findByTypeIdAndTypeWithConnection(c, (id, typ.toString)).isEmpty) {
dao.upsertByTypeIdAndType(
c,
Constants.DefaultUserGuid,
Expand Down
238 changes: 0 additions & 238 deletions api/app/db/generated/GeneratorApibuilderSessionsDao.scala

This file was deleted.

Loading

0 comments on commit 26dcc84

Please sign in to comment.