Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Commit

Permalink
Yet another fix...
Browse files Browse the repository at this point in the history
  • Loading branch information
camwhit-e committed Apr 4, 2022
1 parent 60d684b commit cae13ee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/Transformers/Api/Client/DatabaseTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class DatabaseTransformer extends BaseClientTransformer
{
protected $availableIncludes = ['password'];
protected array $availableIncludes = ['password'];

/**
* @var \Illuminate\Contracts\Encryption\Encrypter
Expand Down
4 changes: 2 additions & 2 deletions app/Transformers/Api/Client/ScheduleTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ class ScheduleTransformer extends BaseClientTransformer
/**
* @var array
*/
protected $availableIncludes = ['tasks'];
protected array $availableIncludes = ['tasks'];

/**
* @var array
*/
protected $defaultIncludes = ['tasks'];
protected array $defaultIncludes = ['tasks'];

/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion resources/scripts/api/store/buy/buyCredits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import http from '@/api/http';

export default (value: string): Promise<any> => {
return new Promise((resolve, reject) => {
http.post(`/api/client/store/checkout`, { value }).then((data) => {
http.post('/api/client/store/checkout', { value }).then((data) => {
resolve(data.data || []);
}).catch(reject);
});
Expand Down

0 comments on commit cae13ee

Please sign in to comment.