Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing service documentation and fixing DO referral link #7101

Merged
merged 2 commits into from
Jul 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/v3.x/concepts/services.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ module.exports = {
// automatically uploads the files based on the entry and the model
await strapi.entityService.uploadFiles(entry, files, {
model: 'restaurant',
// if you are using a plugin's model you will have to add the `plugin` key (plugin: 'users-permissions')
// if you are using a plugin's model you will have to add the `source` key (source: 'users-permissions')
});
return this.findOne({ id: entry.id });
}
Expand Down Expand Up @@ -174,7 +174,7 @@ module.exports = {
// automatically uploads the files based on the entry and the model
await strapi.entityService.uploadFiles(entry, files, {
model: 'restaurant',
// if you are using a plugin's model you will have to add the `plugin` key (plugin: 'users-permissions')
// if you are using a plugin's model you will have to add the `source` key (source: 'users-permissions')
});
return this.findOne({ id: entry.id });
}
Expand Down
2 changes: 1 addition & 1 deletion docs/v3.x/deployment/digitalocean.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Strapi does have a [One-Click](../installation/digitalocean-one-click.md) deploy

### DigitalOcean Install Requirements

- You must have a [DigitalOcean account](https://m.do.co/c/30986c1ff595) before doing these steps.
- If you don't have a DigitalOcean account you will need to create one, you can use [this referral link](https://try.digitalocean.com/strapi/) to get \$100 of free credits!

### Create a "Droplet"

Expand Down
2 changes: 1 addition & 1 deletion docs/v3.x/installation/digitalocean-one-click.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You can find the image generation [source code](https://github.com/strapi/one-cl

### Step 1: Create a DigitalOcean account

If you don't have a DigitalOcean account you will need to create one, you can use [this referral link](https://m.do.co/c/30986c1ff595) to get \$100 of free credits!
If you don't have a DigitalOcean account you will need to create one, you can use [this referral link](https://try.digitalocean.com/strapi/) to get \$100 of free credits!

### Step 2: Create a project

Expand Down