mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
code format
This commit is contained in:
@@ -8,4 +8,4 @@ return [
|
||||
'sms' => [
|
||||
'verification'
|
||||
]
|
||||
];
|
||||
];
|
||||
|
||||
@@ -1672,7 +1672,7 @@ App::patch('/v1/projects/:projectId/templates/sms/:type/:locale')
|
||||
}
|
||||
|
||||
$templates = $project->getAttribute('templates', []);
|
||||
$templates['sms.'.$type.'-'.$locale] = [
|
||||
$templates['sms.' . $type . '-' . $locale] = [
|
||||
'message' => $message
|
||||
];
|
||||
|
||||
@@ -1710,7 +1710,7 @@ App::patch('/v1/projects/:projectId/templates/email/:type/:locale')
|
||||
}
|
||||
|
||||
$templates = $project->getAttribute('templates', []);
|
||||
$templates['email.'.$type.'-'.$locale] = [
|
||||
$templates['email.' . $type . '-' . $locale] = [
|
||||
'senderName' => $senderName,
|
||||
'senderEmail' => $senderEmail,
|
||||
'subject' => $subject,
|
||||
@@ -1722,5 +1722,3 @@ App::patch('/v1/projects/:projectId/templates/email/:type/:locale')
|
||||
|
||||
$response->dynamic($project, Response::MODEL_PROJECT);
|
||||
});
|
||||
|
||||
|
||||
|
||||
@@ -432,7 +432,8 @@ class ProjectsConsoleClientTest extends Scope
|
||||
/**
|
||||
* @depends testCreateProject
|
||||
*/
|
||||
public function testUpdateProjectSMTP($data): array {
|
||||
public function testUpdateProjectSMTP($data): array
|
||||
{
|
||||
$id = $data['projectId'];
|
||||
$response = $this->client->call(Client::METHOD_PATCH, '/projects/' . $id . '/smtp', array_merge([
|
||||
'content-type' => 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user