diff --git a/pkg/signalmeow/store/container.go b/pkg/signalmeow/store/container.go index 879716dc..a08b42d6 100644 --- a/pkg/signalmeow/store/container.go +++ b/pkg/signalmeow/store/container.go @@ -40,7 +40,7 @@ FROM signalmeow_device ` const getDeviceQuery = getAllDevicesQuery + " WHERE aci_uuid=$1" -const deviceByPNIQuery = getAllDevicesQuery + "Where pni_uuid=$1" +const deviceByPNIQuery = getAllDevicesQuery + "WHERE pni_uuid=$1" func (c *Container) Upgrade(ctx context.Context) error { return c.db.Upgrade(ctx)