1
0
mirror of https://github.com/zitadel/zitadel.git synced 2024-12-18 05:47:32 +00:00
Fabi 6b1f7ba333
fix: some backend bugs ()
* fix: fix setup

* fix oidc app change

* fix: fix migration and proto

* fix: fix granted projects

* setup1 apis instead of apps

* fix: add object detail with creation date

* fix user phone change

* add localizer to AddOIDCAppResponse

* fix test

* fix domain test

* fix: converter

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-03-19 18:46:26 +01:00

15 lines
375 B
Go

package command
import (
"github.com/caos/zitadel/internal/domain"
"github.com/caos/zitadel/internal/eventstore"
)
func writeModelToObjectDetails(writeModel *eventstore.WriteModel) *domain.ObjectDetails {
return &domain.ObjectDetails{
Sequence: writeModel.ProcessedSequence,
ResourceOwner: writeModel.ResourceOwner,
EventDate: writeModel.ChangeDate,
}
}