Skip to content

Commit 3105368

Browse files
committed
chore: remove unnecessary code
1 parent a560ec9 commit 3105368

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

swiftwave_manager/graphql/graphql_object_mapper.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,6 @@ func gitCredentialToGraphqlObject(record *dbmodel.GitCredential) *model.GitCrede
1919
}
2020
}
2121

22-
// gitCredentialToDatabaseObject : converts GitCredential to GitCredentialDatabaseObject
23-
func gitCredentialToDatabaseObject(record *model.GitCredential) *dbmodel.GitCredential {
24-
return &dbmodel.GitCredential{
25-
Name: record.Name,
26-
Username: record.Username,
27-
Password: record.Password,
28-
}
29-
}
30-
3122
// gitCredentialInputToDatabaseObject : converts GitCredentialInput to GitCredentialDatabaseObject
3223
func gitCredentialInputToDatabaseObject(record *model.GitCredentialInput) *dbmodel.GitCredential {
3324
return &dbmodel.GitCredential{

0 commit comments

Comments
 (0)